using System;
using System.Collections.Generic;
using System.Text;

namespace ComputaGuru.SpEAd
{
    public class ElementDescriptor
    {
        public int ElementID;
        public string Name;
        public string ElementType;
        public EA.Element Element;

        public ElementDescriptor(EA.Element sourceElement )
        {
            this.ElementID = sourceElement.ElementID;
            this.Name = sourceElement.Name;
            this.ElementType = sourceElement.Type;
            this.Element = sourceElement;
        }

        public override string ToString()
        {
            return this.ElementType + ": " + this.Name;
        }
    }
}
